package com.service.zk;

import com.bean.zk.Household;
import com.dao.zk.HousehodeDAO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class HouseholdService {

    @Resource
    private HousehodeDAO househodeDAO;

    public List<Household> getHouseholds() {
        return househodeDAO.getHouseholds();
    }



    public List<Household> selHousehold(Household household) {

            return househodeDAO.getHousehold(household);
    }
}
